FROM java:openjdk-8u111-jre
VOLUME /temp
ADD shycloud-gateway.jar shycloud-gateway.jar
RUN bash -c 'touch /shycloud-gateway.jar'
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","-Xmx1024m","-Xms1024m","/shycloud-gateway.jar"]
